package com.link.base.base.stocksellstorage.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 仓库
 */
public class Storage extends BasicModel {
    /** 仓库名称*/
    private String storageName;
    /** 仓库类型*/
    private String storageType;
    /** 所有者Id*/
    private Long ownerId;
    /** 所有者*/
    private String ownerName;
    /** 组织Id*/
    private Long orgId;
    /** 组织*/
    private String orgName;
    /** 开票地址*/
    private String invoiceAddress;
    /** 装运地址*/
    private String shipmentAddr;
    /** 接收地址*/
    private String receiveAddr;
    /**产品列表*/
    private List<StorageProd> prodList;


    public List<StorageProd> getProdList() {
        return prodList;
    }

    public void setProdList(List<StorageProd> prodList) {
        this.prodList = prodList;
    }

    public String getStorageName() {
        return storageName;
    }

    public void setStorageName(String storageName) {
        this.storageName = storageName;
    }

    public String getStorageType() {
        return storageType;
    }

    public void setStorageType(String storageType) {
        this.storageType = storageType;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    @Override
    public Long getOrgId() {
        return orgId;
    }

    @Override
    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    @Override
    public String getOrgName() {
        return orgName;
    }

    @Override
    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getInvoiceAddress() {
        return invoiceAddress;
    }

    public void setInvoiceAddress(String invoiceAddress) {
        this.invoiceAddress = invoiceAddress;
    }

    public String getShipmentAddr() {
        return shipmentAddr;
    }

    public void setShipmentAddr(String shipmentAddr) {
        this.shipmentAddr = shipmentAddr;
    }

    public String getReceiveAddr() {
        return receiveAddr;
    }

    public void setReceiveAddr(String receiveAddr) {
        this.receiveAddr = receiveAddr;
    }

    @Override
    public String toString() {
        return "Storage [storageName=" + storageName + ", storageType=" + storageType + ", ownerId=" + ownerId
                + ", ownerName=" + ownerName + ", orgId=" + orgId + ", orgName=" + orgName + ", invoiceAddress="
                + invoiceAddress + ", shipmentAddr=" + shipmentAddr + ", receiveAddr=" + receiveAddr + "]";
    }
}
